<input id="input" value="hello" style="width: 99px" >
<script>
input.focus();
input.setSelectionRange(0,0);
internals.setAutofilled(input, true);
</script>
